package com.xiaohong.user;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

/**
 * @author xiaohong
 * @Description
 * @date 20./20 0020 13:57
 */

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.xiaohong.user.dao")
//@EnableOAuth2Sso // 开启单点登录
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
